
#include<stdio.h>
// #include<math.h>//////////////
/* int main()
{
    int a=2;
    int b=7;
    printf("%d\n",a%b);
    return 0;
}  */
/* int main()
{
    int n=1;
    int m=2;
    switch (n)
    {
        case 1:m++;
        case 2:n++;
        case 3:
          switch(n)
          {
            case 1:n++;
            case 2:m++;n++;
                break;

          }
        case 4:m++;
              break;
        default :
              break;  
    }
    printf("m=%d,n=%d\n",m,n);
    return 0;
}
 */
#include <stdio.h>
#include <string.h>

int main()
{
    char ch[10]={"\0"};
    scanf("%s",&ch[10]);
    char*a = &ch;
    int c ;
    c =strlen(*a);
    printf("%d\n",c);
    return 0;
}